
package ro.qi.framework.sys.security.entities;

import java.util.Date;

import ro.qi.framework.sys.entities.Entity;

public class SecurityAccountMandatoryACL extends Entity {

	public SecurityAccountMandatoryACL(int accountId, int applicationId) {
		setAccountId(accountId);
		setApplicationId(applicationId);
		select();
	}

	public void setAccountId(int value) {
		setValue("accountId", value);
	}

	public int getAccountId() {
		return getIntValue("accountId");
	}

	public void setApplicationId(int value) {
		setValue("applicationId", value);
	}

	public int getApplicationId() {
		return getIntValue("applicationId");
	}

	public void setAccessId(int value) {
		setValue("accessId", value);
	}

	public int getAccessId() {
		return getIntValue("accessId");
	}

	public void setAccessMask(int value) {
		setValue("accessMask", value);
	}
	
	public int getAccessMask() {
		return getIntValue("accessMask");
	}
	
	public Date getCreatedTime() {
		return getDateValue("createdTime");
	}

	public Date getUpdatedTime() {
		return getDateValue("updatedTime");
	}

}
